﻿<!-- 继承公共文件 -->
<extend name="./Application/Admin/view/layout.html" />



      <block name="mid">
   
<div class="panel panel-danger">

                        <div class="panel-heading">
                           添加权限
                        </div>
                        <div class="panel-body">
                            <form role="form" action="" method="post" enctype="multipar/form-data">
                                         

                                 <div class="form-group">
                                            <label>权限所属 ：</label>
                                            <select name="pid">
                                            <option value="0">顶级权限</option>
                                            <foreach name="top_nav" item="v">
                                            <option value="{$v.id}">{$v.name}</option>
                                            </foreach>
                                         
                                            </select>
                                        </div>
                                 <div class="form-group">
                                            <label>权限名称</label>
                                            <input type="text" class="form-control" name="title">
                                    
                                        </div>
                                            <div class="form-group">
                                            <label>权限规则</label>
                                            <input type="text" name="name" class="form-control">
                                    
                                        </div>
                                
                                 <div class="form-group">
                                             <label>状态 ：</label>
                                            <label><input type="radio" checked name="status" value="1"> 启用</label>

                                            <label> <input type="radio" name="status" value="0"> 禁用</label>
                                            
                                            
                                        </div>
                                  <div class="form-group">
                                             <label>权限区域 ：</label>
                                            <label><input type="radio"  name="is_home" value="1"> 前台</label>

                                            <label> <input type="radio" checked name="is_home" value="2"> 后台</label>
                                            
                                            
                                        </div>
                                 
                                 
                                 
                                        <button class="btn btn-info" type="submit">确定 </button>

                                    </form>
                            </div>
                        </div>




<block name="js">


<script type="text/javascript" src="__ADMIN__assets/js/jquery-3.0.0.min.js"></script>
<script type="text/javascript">
$(function(){

     



})



</script>

</block>













